<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js"><!--<![endif]--><head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=1280">
    <meta name="msapplication-config" content="none">
    <title>#</title>

    <link href="<?php echo FRONT_SITE_URL ?>www/css/css1/css.css" rel="stylesheet" type="text/css">
    <link href="<?php echo FRONT_SITE_URL ?>www/css/css1/css_002.css" rel="stylesheet" type="text/css">
    <link href="<?php echo FRONT_SITE_URL ?>www/css/css1/css_003.css" rel="stylesheet" type="text/css">
    <link href="<?php echo FRONT_SITE_URL ?>www/css/css1/css_004.css" rel="stylesheet" type="text/css">
    <link href="<?php echo FRONT_SITE_URL ?>www/css/css1/base.css" rel="stylesheet" type="text/css">
    <link type="text/css" href="<?php echo FRONT_SITE_URL ?>www/css/css1/profileedit.css" rel="stylesheet">
    <link type="text/css" href="<?php echo FRONT_SITE_URL ?>www/css/css1/profilepro.css" rel="stylesheet">
    <link href="<?php echo FRONT_SITE_URL ?>www/css/css1/whoimlookingfor.css" type="text/css" rel="stylesheet">

    <link href="<?php echo FRONT_SITE_URL ?>www/css/css1/chat.css" rel="stylesheet">
    <link href="<?php echo FRONT_SITE_URL ?>www/css/css1/theme.css" rel="stylesheet" type="text/css">
    
    <?php 
      if(isset($this->content['addCss'])){
        foreach($this->content['addCss'] as $item){
         echo '<link href="',FRONT_SITE_URL,'www/css/css1/',$item,'" rel="stylesheet" type="text/css">';
        }
      }
    ?>
    
    <script>
      var FRONT_SITE_URL = '<?php echo FRONT_SITE_URL ?>';
      var BaseDomain = '<?php echo BaseDomain ?>';
      var Domain = '<?php echo Domain ?>';
    </script>
    <script src="<?php echo FRONT_SITE_URL ?>www/js/js1/jquery-1.js" type="text/javascript"></script>
    <script src="<?php echo FRONT_SITE_URL ?>www/js/js1/lib.js" type="text/javascript"></script>
    <script src="<?php echo FRONT_SITE_URL ?>www/js/js1/jquery-ui-1.js" type="text/javascript"></script>
    <script src="<?php echo FRONT_SITE_URL ?>www/js/js1/jquery-mods.js" type="text/javascript"></script>
    <script src="<?php echo FRONT_SITE_URL ?>www/js/js1/menu.js" type="text/javascript" language="JavaScript"></script>

    
    
  </head>

  <body>
    <div id="PopupDisplayAreaDiv" style="display:none;"></div>

    <div id="header">
      <div id="headercontent">
        <div id="logo" title="BBPeopleMeet.com">
          <a href="#">
            <img src="<?php echo FRONT_SITE_URL ?>www/images/images1/logo.png" alt="" border="0">
          </a>
        </div>
        <div id="menu">
          <a href="<?php echo FRONT_SITE_URL;?>">
            <div id="home" class="homeoff" title="Home">
            </div>
          </a>
          <div id="inbox" data-link="<?php echo app()->createAbsoluteUrl('home/Inbox');?>" class="inboxoff" title="Inbox">
            <div id="inbox_menuhover" class="inboxtabmenuplace" style="display: none;">
              <div class="inboxtabmenuarrow">
                <img src="<?php echo FRONT_SITE_URL ?>www/images/images1/arrowup_small.png">
              </div>
              <div class="inboxtabmenu">
                <div class="inboxtabmenuoff" data-link="<?php echo app()->createAbsoluteUrl('home/Inbox/messages');?>">
                  Messages <span></span>
                </div>
                <!--<div class="inboxtabmenuoff" data-link="#/messages?sortcol=flirt">
                  Flirts <span></span>
                </div>-->
                <div class="inboxtabmenuoff" data-link="<?php echo app()->createAbsoluteUrl('home/Inbox');?>">
                  Likes <span></span>
                </div>
              </div>
            </div>
            <p><a href="#/messages/?upn=2">Inbox</a></p>
          </div>
          <div id="find" data-link="<?php echo FRONT_SITE_URL;?>search" class="findoff" title="Find">
            <div id="find_menuhover" class="findtabmenuplace" style="display: none;">
              <div class="findtabmenuarrow">
                <img src="<?php echo FRONT_SITE_URL ?>www/images/images1/arrowup_small.png">
              </div>
              <div class="findtabmenu">
                <div class="findtabmenuoff" data-link="#/todaysmatches">
                  Today's Matches <span>(5 NEW)</span>
                </div>    
                <div class="findtabmenuoff" data-link="<?php echo FRONT_SITE_URL;?>search#Sortby=MyDefault">
                  Search
                </div>
                <div class="findtabmenuoff" data-link="<?php echo FRONT_SITE_URL;?>search">
                  Online Now
                </div>
                <div class="findtabmenuoff" data-link="#/iminterested">
                  I'm Interested
                </div>
                <div class="findtabmenuoff" data-link="<?php echo FRONT_SITE_URL;?>searchuser">
                  Username
                </div>

              </div>
            </div>
            <div id="starburstplace" style="display:none">
              <div id="findstarburst">
                <p>0</p>
              </div>
            </div>
            <p><a href="<?php echo FRONT_SITE_URL;?>search">Search</a></p>
          </div>
          <div id="connect" data-link="<?php echo FRONT_SITE_URL;?>home/connect" class="connectoff" title="Connect">
            <div id="connect_menuhover" class="connecttabmenuplace" style="display: none;">
              <div class="connecttabmenuarrow">
                <img src="<?php echo FRONT_SITE_URL ?>www/images/images1/arrowup_small.png">
              </div>
              <div class="connecttabmenu">
                <div class="connecttabmenuoff" data-link="<?php echo app()->createAbsoluteUrl('home/connect?tab=0&amp;filter=0');?>">
                  Yes Votes <span id="connect_yesvotes"></span>
                </div>
                <div class="connecttabmenuoff" data-link="<?php echo app()->createAbsoluteUrl('home/connect?tab=1&amp;filter=0');?>">
                  Favorites <span id="connect_favorites"></span>
                </div>
                <div class="connecttabmenuoff" data-link="<?php echo app()->createAbsoluteUrl('home/connect?tab=2&amp;filter=0');?>">
                  Views <span id="connect_views"></span>
                </div>
              </div>
            </div>
            <div id="connectStarBurstArea" style="display:none">
              <div id="starburstplace">
                <div id="connectstarburst">
                  <p>0</p>
                </div>
              </div>
            </div>
            <p><a href="<?php echo FRONT_SITE_URL;?>home/connect">Connect</a></p>
          </div>
        </div>


        <div id="rightheader">
          <div id="rightheadertop">
            <div id="helpmenuplace">
              <div id="helpmenu">
                <div id="helpandadvicelink">
                  <p>
                    Help &amp; Advice</p>
                  <img src="<?php echo FRONT_SITE_URL ?>www/images/images1/arrowup.png">
                </div><a href="#">
                  <div id="faqlink">
                    <p>
                      Help / FAQs</p>
                  </div>
                </a>
                <a href="#">
                  <div id="magazinelink">
                    <p>
                      Success Stories</p>
                  </div>
                </a>
                <a href="#">
                  <div id="safetylink">
                    <p>Safe Dating Tips</p>
                  </div>
                </a>
              </div>
            </div>
            <div id="usernamemenuplace">
              <div id="usernamemenu">
                <div id="usernamelink">
                  <p><?php echo user()->getUserProperty('username') ?></p>
                  <img src="<?php echo FRONT_SITE_URL ?>www/images/images1/arrowup.png">
                </div><a href="<?php echo FRONT_SITE_URL;?>user/profile">
                  <div id="profilelink">
                    <p>
                      My Profile</p>
                  </div>
                </a><a href="<?php echo FRONT_SITE_URL; ?>user/profile/MediaUpload">
                  <div id="photolink">
                    <p>
                      My Photos</p>
                  </div>
                </a><a href="#">
                  <div id="accountlink">
                    <p>
                      My Account</p>
                  </div>
                </a>
              </div>
            </div>
            <div id="helpandadvice">
              <p>
                Help &amp; Advice</p>
              <img src="<?php echo FRONT_SITE_URL ?>www/images/images1/arrowup.png">
            </div>
            <div id="username">
              <p><?php echo user()->getUserProperty('username') ?></p>
              <img src="<?php echo FRONT_SITE_URL ?>www/images/images1/arrowup.png">
            </div>
            <div id="logout">
              <p>
                <a href="<?php echo FRONT_SITE_URL ?>user/logout">Logout</a></p>
            </div>

          </div>
          <div id="rightheaderbottom">
            <p id="crosspromote"><!-- begin ad tag -->

                <!--<img src="http://ad.doubleclick.net/ad/mat.bbpeoplemeet/m/general;dcopt=ist;tile=1;;sz=250x15;dc_ref=http://www.bbpeoplemeet.com/v3/profileedit;gp=2;byr=1981;kds=56;ethn=95;smk=298;hr=129;bdy=46;ms=222;city_ps=sharpsburg;state_ps=ga;log=1;subid=0a;uid=30;s=bm;pho=2;mm=0;ord=621466230?;" width="250" height="x15" border="0" alt=""/>-->
              </a></noscript>
              <!-- End ad tag -->
            </p>
          </div>
        </div>
      </div>
    </div>
    
    <div id="subheader"> 
     
      <p class=""><a href="#/messages/?start=1&amp;Folder=Inbox&amp;sortcol=message&amp;sortdir=DESC&amp;upn=4"><span class="headercountstotalvalue">Messages</span></a>
      </p>
      <p class=""><a href="#/connect/connectlist?tab=2&amp;filter=1"><span class="headercountstotalvalue">Viewed Me</span></a>
      </p>
      <p class=""><a href="#/connect/connectlist?tab=1&amp;filter=1&amp;upn=5"><span class="headercountstotalvalue">Favorited Me</span></a>
      </p>
      <p class=""><a href="#/messages/?start=1&amp;Folder=Inbox&amp;sortcol=flirt&amp;sortdir=DESC&amp;upn=6"><span class="headercountstotalvalue">Flirted With Me</span></a>
      </p>
      <p class="pnoborder"><a href="#/profile/todaysmatches"><span class="headercountstotalvalue">Today's Matches</span></a>
        <a class="headercountsnewlink" href="#/profile/todaysmatches">(<span class="headercountsnewvalue">5&nbsp;New</span>)</a>
      </p>

    </div>



    <div id="rtn_alert" class="realtimenotificationplace">
      <div class="rtnclosebtnplace">
        <div class="rtnclosebtn"> <a href="javascript:;" id="close_alert" title="Close"><img src="<?php echo FRONT_SITE_URL ?>www/images/images1/largeclosebtn_002.png" class="closebtn" border="0"></a>
        </div>
      </div>
      <div class="realtimenotification rtnToolbar">
        <div class="rtnicon" id="rtn_image">
          <a href="#"><img src="<?php echo FRONT_SITE_URL ?>www/images/images1/noPhoto-1.gif" alt="" class="rtnuserpic" border="0"></a>
        </div>
        <div class="rtnmessaging rtnmToolbar">
          <p id="rtn_username"></p><p id="rtn_message" class="rtntToolbar"></p>
        </div>
        <div class="rtntool"> <a href="#/Account/EditOnsiteNotifications" title="Adjust Settings"><img src="<?php echo FRONT_SITE_URL ?>www/images/images1/toolicon.png" id="gear_icon" border="0"></a>
        </div>

      </div>
    </div>
    
    <div id="divRealTimeNotificationStatus" style="display:none;"></div>

    
    <div id="maincontent">
      <?php
        if(isset($this->content['message_popup'])){
          echo $this->content['message_popup'];
        }
      ?>
      
      <div id="columnleft">
        <?php echo $content; ?>
      </div>
      
      
      <div id="columnright">

        <?php
        if(isset($this->content['widget'])){
          $countWidget = 0;
          foreach($this->content['widget'] as $item){
            if(isset($this->content['param']['widget'][$countWidget]))
              $this->widget($item,$this->content['param']['widget'][$countWidget]);
            else
              $this->widget($item);
            $countWidget++;
          }
        }

        ?>

      </div>
      <p class="clearfix">&nbsp;</p>
    </div>


    <div id="footer">
      <div id="footercontent">
        <p>
          Copyright © 2014 People Media. All rights reserved.  21x1105.  

          <a href="#termsandconditions">Terms of Use</a> | <a href="#privacypolicy">Privacy Policy</a>

          | <a href="#siteswitcher?site=mobile">Mobile Site</a>
        </p>
      </div>
    </div>






    <div id="NotificationsToolbar" class="notificationstoolbar">
      <div>
        <div>
          <div class="tbRecentNotifications">
            <div>
              <div>
                <h1>Your Recent Notifications</h1>
                <img src="<?php echo FRONT_SITE_URL ?>www/images/images1/largeclosebtn.png" alt="">
                <a href="#Notification">See All Notifications</a>
              </div>
              <div id="recentNotifications">
                <img src="<?php echo FRONT_SITE_URL ?>www/images/images1/waitwheel.gif" alt="">
              </div>
            </div>
            <div class="tbLast">
              <img src="<?php echo FRONT_SITE_URL ?>www/images/images1/notificationsiconactive.png">
              <span>Notifications</span>
            </div>
          </div>
        </div>

        <div class="btnRecentNotifications"></div>


        <div class="btnNextSteps" data-cta="" title="Your Next Steps">
          <img src="<?php echo FRONT_SITE_URL ?>www/images/images1/nextstepsicon.png">
          <div>Next Steps:</div>
        </div>
        <div class="tbNextStepsDisplay">
          <a id="nextStepsLink" href="#manage?type=1">Whoa! You haven't posted a photo yet. Until you post a photo you're invisible... <span class="color-main">Upload a Photo</span></a>

        </div>

        <div class="tbAccountSettings" title="Go to Account Settings">
          <a href="#/EditOnsiteNotifications">
            <img src="<?php echo FRONT_SITE_URL ?>www/images/images1/tool.png"></a>
        </div>
        <div class="btnChat">
          <img src="<?php echo FRONT_SITE_URL ?>www/images/images1/chatonicon.png" title="No Favorites Saved">
          <span>
            <img src="<?php echo FRONT_SITE_URL ?>www/images/images1/chaticon.png" title="No Favorites Saved">
            <div title="No Favorites Saved">
              Chat (<span data-online-label="0">0</span>)
            </div>
          </span>
        </div>
        <div>
          <div class="tbChat">
            <div>
              <div>
                <h1>Chat</h1>
                <img src="<?php echo FRONT_SITE_URL ?>www/images/images1/largeclosebtn.png" alt="">
              </div>
              <div id="chatMemberList">

                <div class="buddyListEmpty" data-online-count="0">
                  <div>This Chat list will contain members online who you have<br>Saved as a Favorite</div>
                  <img src="<?php echo FRONT_SITE_URL ?>www/images/images1/largefavoriteicon.png">
                  <div class="rtnfavoritebtn">
                    <a href="#Search#Sortby=MyDefault" class="button_style" title="Find Favorites">Find Favorites</a>
                  </div>
                </div>
              </div>
            </div>
            <div class="tbLast">
              <img src="<?php echo FRONT_SITE_URL ?>www/images/images1/chatonicon.png">
              <img src="<?php echo FRONT_SITE_URL ?>www/images/images1/chaticonactive.png">
              <span>Chat (<span data-online-label="0">0</span>)</span>
            </div>
          </div>
        </div>
      </div>
    </div>



    <img src="<?php echo FRONT_SITE_URL ?>www/images/images1/spacer.gif" name="keepalive">


    <div class="chatPane"><h1>Available to Chat</h1><p>Loading members...</p></div>
    <div id="ChatBar"><div class="chatFrame"></div>

    </div>
  </body>
</html>